package com.lanou3g.demo.service;

import com.lanou3g.demo.commons.ResultWrapper;
import com.lanou3g.demo.entity.Account;

import java.util.List;

public interface IAccountService {
    List<Account>  findAll();
    Integer addOne(Account account);
    Integer upStatus(Integer accountId);
    Integer deleteById(Integer accountId);
    Account findById(Integer accountId);
    int update(Account account);

    List<Account> search(Account account);

    ResultWrapper findPages(int page, int count);
}
